package com.bwie.controller;
import com.bwie.pojo.ShoppingCar;
import com.bwie.service.ShoppingCarService;
import com.bwie.service.impl.ShoppingCarServiceImpl;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;
import org.springframework.web.bind.annotation.*;

import org.springframework.beans.factory.annotation.Autowired;

/**
* (t_shopping_car)表控制层
*
* @author xxxxx
*/
@RestController
@RequestMapping("/user/shop")
public class ShoppingCarController {
/**
* 服务对象
*/
    @Autowired
    private ShoppingCarService shoppingCarService;
    @PostMapping("getCarList")
    public R getCarList(@RequestBody PageInfoVo pageInfoVo){
        return shoppingCarService.getCarList(pageInfoVo);
    }

}
